package com.merry.spring5.reflex.ioc.test;

import com.merry.spring5.reflex.ioc.annotation.Bean;
import com.merry.spring5.reflex.ioc.annotation.DI;

@Bean(value = "tissue")
public class WaterTissue {

    @DI
    private Water water;

    public Water getWater() {
        return water;
    }

    public void setWater(Water water) {
        this.water = water;
    }

    public void waterTissue(){
        System.out.println("water tissue...");
    }
}
